<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="org.json.simple.*"%>
<%@page import="java.util.*,java.text.*" %>

<%String dateStart = (String) request.getParameter("dateStart");%>
<%String dateEnd = (String) request.getParameter("dateEnd");%>

<%
    JSONArray obj=new JSONArray();

        Calendar calendar = Calendar.getInstance();
        String today = (calendar.get(Calendar.MONTH)+1)+"/"+calendar.get(Calendar.DATE)+"/"+calendar.get(Calendar.YEAR);
        boolean flag = false;

         while(!today.equals(dateStart)){

             if(today.equals(dateEnd)){
                flag = true;
             }

             if(flag){
              obj.add(today);
             }

            calendar.add(Calendar.DAY_OF_YEAR, -1);
            today = (calendar.get(Calendar.MONTH)+1)+"/"+calendar.get(Calendar.DATE)+"/"+calendar.get(Calendar.YEAR);
       }
    out.print(obj);
    out.flush();
%>